<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>


<h1>修改学生信息</h1>

<form action="${path}/student?method=update" method="post">
    <p><input type="hidden" name="id" value="${student.id}"></p>
    <p>学号:<input type="text" name="stuNo" value="${student.stuNo}" readonly></p>
    <p>姓名:<input type="text" name="stuName" value="${student.stuName}"></p>
    <p>年龄:<input type="text" name="stuAge" value="${student.stuAge}"></p>
    <p>生日:<input type="text" name="stuBirth" value="<fmt:formatDate value="${student.stuBirth}" pattern="yyyy-MM-dd"></fmt:formatDate>"></p>
    <p><input type="submit" value="修改"></p>
</form>
<span style="color: #ff341e">${info}</span>
</body>
</html>
